package com.sinog.biz.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import java.util.Map;

/**
 * @desc 读取yml配置文件获取当前部署省份code 校验
 * @author lzq
 * @date 2021-04-08 10:05
 */
@ConfigurationProperties(prefix = "gkzx.azbj.param")
@Configuration
@Data
@PropertySource (
        value = {"classpath:checkParams.yml"}, encoding = "UTF-8",
        factory = YamlPropertySourceFactory.class
)
public class ProvinceCodes2Config {

    private Map<String,Map<String,String>> MESSAGE;
    private Map<String,Map<String,String>> AJXX;
    private Map<String,Map<String,String>> JBXX;
    private Map<String,Map<String,String>> FXXX;
    private Map<String,Map<String,String>> ZNXX;
    private Map<String,Map<String,String>> SHGX;
    // Todo 校验信息补录和发起衔接
    /**
     * 转换职业技能信息
     */
    private Map<String,Map<String,String>> ZYJN;
    /**
     * 转换减刑假释信息
     */
    private Map<String,Map<String,String>> JXJS;
    /**
     * 转换出监评估信息
     */
    private Map<String,Map<String,String>> CJPG;
    /**
     * 转换发起衔接信息
     */
    private Map<String,Map<String,String>> FQXJ;
}